package com.sinbader.xiaole.common.model.params;

import java.util.Date;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
import lombok.experimental.Accessors;
import io.swagger.annotations.ApiModelProperty;
import cn.stylefeng.roses.kernel.model.validator.BaseValidatingParam;

/**
 * 入库单（采购入库、调拨入库）明细
 */
@Data
@Accessors(chain = true)
public class InStockInfoDetailParam implements Serializable, BaseValidatingParam {

    private static final long serialVersionUID = 1L;


	@ApiModelProperty(value = "主键")
    private Long id;

	@ApiModelProperty(value = "主表ID")
    private Long inStockInfoId;

	@ApiModelProperty(value = "门店ID （0表示总部 ）")
    private Long orgId;

	@ApiModelProperty(value = "入库单号：入库单表 “入库单号“")
    private String inStockNum;

	@ApiModelProperty(value = "商品id")
    private Long productId;

	@ApiModelProperty(value = "商品名称")
    private String productName;

	@ApiModelProperty(value = "产地")
    private String producePlace;

	@ApiModelProperty(value = "品牌")
    private String brand;

	@ApiModelProperty(value = "适用车型")
    private String applyCarModel;

	@ApiModelProperty(value = "供应商id")
    private Integer supplierId;

	@ApiModelProperty(value = "供应商名称")
    private String supplierName;

	@ApiModelProperty(value = "仓库id")
    private Long warehouseId;

	@ApiModelProperty(value = "仓库名称")
    private String warehouseName;

	@ApiModelProperty(value = "货架id")
    private Long shelfId;

	@ApiModelProperty(value = "货架名称")
    private String shelfName;

	@ApiModelProperty(value = "入库数量")
    private Integer count;

	@ApiModelProperty(value = "实际到货数量")
    private Integer actualArrivalCount;

	@ApiModelProperty(value = "入库单价(单价）")
    private BigDecimal inStockPrice;

	@ApiModelProperty(value = "入库总金额")
    private BigDecimal inStockTotalAmt;

	@ApiModelProperty(value = "单位")
    private String unit;

	@ApiModelProperty(value = "入库方式 1:一般入库(采购入库)  2:调拨入库")
    private Integer inWarehouseType;

	@ApiModelProperty(value = "图片存储路径")
    private String imagePath;

	@ApiModelProperty(value = "仓位")
    private String position;

	@ApiModelProperty(value = "备注")
    private String remark;

	@ApiModelProperty(value = "经手人id")
    private Long handleUser;

	@ApiModelProperty(value = "创建时间")
    private Date createTime;

	@ApiModelProperty(value = "创建人id")
    private Long createUser;

	@ApiModelProperty(value = "审核人id")
    private Long auditUser;

	@ApiModelProperty(value = "审核时间")
    private Date auditTime;

	@ApiModelProperty(value = "更新时间")
    private Date updateTime;

	@ApiModelProperty(value = "打印时间")
    private Date printTime;

	@ApiModelProperty(value = "更新人id")
    private Long updateUser;

	@ApiModelProperty(value = "默认为0,1为删除")
    private Integer isDelete;

	@ApiModelProperty(value = "单据状态")
    private Integer status;

    @Override
    public String checkParam() {
        return null;
    }

}
